package com.cww.study.service;

import com.cww.study.mybatis.PageResultBean;
import com.cww.study.po.News;
import com.cww.study.vo.QueryNewsPageListVO;
import com.cww.study.vo.SaveNewsVO;
import com.cww.study.vo.UpdateStateVO;

/**
 * @program: cww_project
 * @description:
 * @author: 陈英俊
 * @create: 2022-03-08 13:59
 */
public interface NewsService {
    void save(SaveNewsVO vo);

    void updateState(UpdateStateVO vo);

    PageResultBean<News> queryPageList(QueryNewsPageListVO vo);

    News getDetailById(String id);
}
